Skip to content

PdfColor Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines the base class for PDF colors.

C#
public abstract class PdfColor : Object

Inheritance: Object → PdfColor

Constructor

Name Description
PdfColor(PdfColorSpace) Initializes a new PdfColor object with a given colorspace.

Properties

Name Description
ColorSpace Gets the colorspace.

Methods

Name Description
Copy Copies this color.
Equals Determines whether the specified Object is equal to the current Object.
GetHashCode Serves as a hash function for a particular type.
ToRgbColor Converts this color to RGB.